import { GroupMessageEvent } from 'oicq'
import { Next } from '../frame/app'

export interface IGroupMessageEvent extends GroupMessageEvent {
    command: string
    args: string[]
}

export interface ICommandFn {
    (e: IGroupMessageEvent, next: Next): void
    help?: () => string
}
